Path-Based Program Repair
نویسندگان
چکیده
We propose a path-based approach to program repair for imperative programs. Our repair framework takes as input a faulty program, a logic specification that is refuted, and a hint where the fault may be located. An iterative abstraction refinement loop is then used to repair the program: in each iteration, the faulty program part is re-synthesized considering a symbolic counterexample, where the control-flow is kept concrete but the data-flow is symbolic. The appeal of the idea is two-fold: 1) the approach lazily considers candidate repairs and 2) the repairs are directly derived from the logic specification. In contrast to prior work, our approach is complete for programs with finitely many control-flow paths, i.e., the program is repaired if and only if it can be repaired at the specified fault location. Initial results for small programs indicate that the approach is useful for debugging programs in practice.
منابع مشابه
The Effect of Dams of Sire Path Management on Genetic and Economic Parameters in a Simulated Genomic Selection Program
A deterministic model based on the gene flow method, considering the features of Iranian Holstein cattle population, was implemented in this study to evaluate the effect of altering the number of age-classes in the dams of future sire (DS) path and the number of dams required for breeding a young bull (YB), to be evaluated as future sire, on genetic gain and resultant economic efficiency of a g...
متن کاملFailure-Driven Refinement Search with Local Repair-Based Heuristics for Constraint Satisfaction Problems
There has been substantial recent interest in two new families of search techniques. One family consists of systematic approaches, which use the idea of dependency directed backtracking (DDB) and dynamic backtracking (DB) as an antidote for the inefficiencies of chronological backtracking. Based on backtracking, systematic approaches are able to produce an optimal assignment, when no time limit...
متن کاملComparison of GSA, SA and PSO Based Intelligent Controllers for Path Planning of Mobile Robot in Unknown Environment
Abstract—Now-a-days autonomous mobile robots have found applications in diverse fields. An autonomous robot system must be able to behave in an intelligent manner to deal with complex and changing environment. This work proposes the performance of path planning and navigation of autonomous mobile robot using Gravitational Search Algorithm (GSA), Simulated Annealing (SA) and Particle Swarm optim...
متن کاملRepair strategies on the operation of MPLS routing
Efficient operation of multipath routing is considered as one of the important aspects in MPLS traffic engineering. Multipath routing has an advantage over the traffic routing based on single shortest path because single path routing may lead to unbalanced traffic situations and degraded QoS (Quality of Service). The adequate strategy for the order of repairing failed links can greatly influenc...
متن کاملShortest Path Problem with Gamma Probability Distribution Arc Length
We propose a dynamic program to find the shortest path in a network having gamma probability distributions as arc lengths. Two operators of sum and comparison need to be adapted for the proposed dynamic program. Convolution approach is used to sum two gamma probability distributions being employed in the dynamic program.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015